package com.test.service;

import com.test.pojo.DinnerTable;

import java.util.List;

public interface DinnerTableService {

    List<DinnerTable> getAllDinnerTable();

    int updateDinnerTable(DinnerTable dinnerTable);

    int deleteDinnerTable(int tableId);

    int addDinnerTable(DinnerTable dinnerTable);

    List<DinnerTable> serachDinnerTable(String tableName);

//    DinnerTable getFoodTypeByID( int typeId);
    /**
     * 根据主键查询
     */
    DinnerTable findById(int id);

    /**
     * 查询所有未预定的餐桌
     */
//    int findNoUseTable();


}
